<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
    // 1.toString()
    //  转换进制  toString
    //  var num = 10;
    //  var res = num.toString(16);
    //  console.log(res);
    // parsetInt :把传入数字当成几进制看 ，最终返还10进制结果
    // var num = 10;
    // var res  = parseInt(num,16);
    // console.log(res);




    </script>
</body>
</html>